package design_mode.decorator;

public class AmphibiousCar extends Transformer{
    public AmphibiousCar(ITransportation transportation) {
        super(transportation);
        System.out.println("我是水陆两用汽车");
    }

    public void moveInWater(){
        System.out.println("我可以在水里跑");
    }
}
